/*
 * @Author: sunzhijun 
 * @Date: 2020-02-28 21:36:16 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2020-02-28 21:37:53
 */


import React from 'react';
import {render, connect} from 'src/hrpub/common/frame';
import './index.less';

const CardForm = render({
    
})(({props, state}) => {
    const { main, form, action } = props;
    const { createForm } = form;
    let { cardId } = main;
    return (
        createForm(cardId,{
            // expandArr: ["dataAfter"],
            // 编辑前事件
            // onBeforeEvent: beforeEventFn.bind(this),
            //编辑后事件
            onAfterEvent: action.cardAct.formAfterEventFn
        })
    );
});
export default CardForm;